using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GoodsCollider : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        gameObject.AddComponent<CapsuleCollider2D>();
        CapsuleCollider2D collider = gameObject.GetComponent<CapsuleCollider2D>();
        collider.size = new Vector2(110, 180);

        gameObject.AddComponent<Rigidbody2D>();
        Rigidbody2D rb = gameObject.GetComponent<Rigidbody2D>();
        rb.mass = 50;
    }


}
